﻿@model ProductModel

<div class="panel-group">
    <div class="panel panel-default">
        <div class="panel-heading">
            @(Html.LocalizedEditor<ProductModel, ProductLocalizedModel>("product-seo-localized",
            @<div>
                <div class="form-group">
                    <div class="col-md-3">
                        @Html.SDFLabelFor(model => model.Locales[item].MetaKeywords)
                    </div>
                    <div class="col-md-9">
                        @Html.SDFEditorFor(model => model.Locales[item].MetaKeywords)
                        @Html.ValidationMessageFor(model => model.Locales[item].MetaKeywords)
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-3">
                        @Html.SDFLabelFor(model => model.Locales[item].MetaDescription)
                    </div>
                    <div class="col-md-9">
                        @Html.SDFTextAreaFor(model => model.Locales[item].MetaDescription)
                        @Html.ValidationMessageFor(model => model.Locales[item].MetaDescription)
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-3">
                        @Html.SDFLabelFor(model => model.Locales[item].MetaTitle)
                    </div>
                    <div class="col-md-9">
                        @Html.SDFEditorFor(model => model.Locales[item].MetaTitle)
                        @Html.ValidationMessageFor(model => model.Locales[item].MetaTitle)
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-3">
                        @Html.SDFLabelFor(model => model.Locales[item].SeName)
                    </div>
                    <div class="col-md-9">
                        @Html.SDFEditorFor(model => model.Locales[item].SeName)
                        @Html.ValidationMessageFor(model => model.Locales[item].SeName)
                    </div>
                </div>
                <div>
                    @Html.HiddenFor(model => model.Locales[item].LanguageId)
                </div>
            </div>
    ,
            @<div>
                <div class="form-group">
                    <div class="col-md-3">
                        @Html.SDFLabelFor(model => model.MetaKeywords)
                    </div>
                    <div class="col-md-9">
                        @Html.SDFEditorFor(x => x.MetaKeywords)
                        @Html.ValidationMessageFor(model => model.MetaKeywords)
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-3">
                        @Html.SDFLabelFor(model => model.MetaDescription)
                    </div>
                    <div class="col-md-9">
                        @Html.SDFTextAreaFor(x => x.MetaDescription)
                        @Html.ValidationMessageFor(model => model.MetaDescription)
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-3">
                        @Html.SDFLabelFor(model => model.MetaTitle)
                    </div>
                    <div class="col-md-9">
                        @Html.SDFEditorFor(x => x.MetaTitle)
                        @Html.ValidationMessageFor(model => model.MetaTitle)
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-3">
                        @Html.SDFLabelFor(model => model.SeName)
                    </div>
                    <div class="col-md-9">
                        @Html.SDFEditorFor(x => x.SeName)
                        @Html.ValidationMessageFor(model => model.SeName)
                    </div>
                </div>
            </div>))
        </div>
    </div>
</div>
